package org.melanesia.sql;

import org.melanesia.converters.JavaToJdbcConverter;

public class InputParameter {
	
    private String name;
    private Object value;
    private JavaToJdbcConverter converter;
    
    public InputParameter(String name, Object value) {
        this(name, value, null);
    }
    
    public InputParameter(String name, Object value, JavaToJdbcConverter converter) {
    	this.name = name;
        this.value = value;
        this.converter = converter;
    }
    
    public String getName() {
        return name;
    }
    
    public Object getValue() {
        return value;
    }
    
    public JavaToJdbcConverter getConverter() {
        return converter;
    }
}